#ifndef FILE_LOG_STREAM_H
#define FILE_LOG_STREAM_H

// Remove warning about 'this' use in initiator list - pointer is only stored
#if defined(WIN32) && !defined(__GNUC__)
#pragma warning( disable : 4355 ) // using this in base member initializer list 
#endif


#include "file_log_buf.h"

class FileLogStream :private FileLogBuf, public std::ostream
{
public:
	FileLogStream():std::ostream(this)
	{

	}
};

#endif //